package com.tyqx.hashchainbiz.service;

import com.tyqx.hashchainbean.module.Authorize;
import com.tyqx.hashchainbean.vo.AuthorizeUpdateTimeVO;

import java.util.List;

public interface AuthService {

    public Integer grantee(Authorize authorize);

    public Integer updateAuth(Integer recordId, String granteeId, String grantorId, Integer flag);

    public Integer updateAuthTime(AuthorizeUpdateTimeVO updateTimeVO);

    List<Authorize> gratneeAutho(String granteeUid, Integer flag);

    List<Authorize> gratneeUnautho(String granteeUid, Integer flag);

    List<Authorize> granteeUnauthoRefuse(String granteeUid, Integer flag);

    List<Authorize> gratnorAutho(String granteeUid, Integer flag);

    List<Authorize> gratnorUnautho(String granteeUid, Integer flag);


    List<Authorize> grantorUnauthoRefuse(String granteeUid, Integer flag);

}
